package com.niuwa.p2p.dao.channel;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.LoanClaimAudit;

@MyBatisDao
public interface LoanClaimAuditDao {
    int deleteByPrimaryKey(Long id);

    int insert(LoanClaimAudit record);

    int insertSelective(LoanClaimAudit record);

    LoanClaimAudit selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoanClaimAudit record);

    int updateByPrimaryKey(LoanClaimAudit record);
    
    /**
     * 分页查询回访历史记录
     * @param hashMap
     * @return
     */
    List<LoanClaimAudit> selectLoanClaimAuditListByParams(Map<String, Object> hashMap);
    
    int countLoanClaimAuditListByParams(Map<String, Object> hashMap);
    
    List<LoanClaimAudit> selectLoanAuditLog(String projectNo);
}